package com.wu.springcloud.controller;

import com.wu.springcloud.service.HelloService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ClassName FeignController
 * @Author 浮生光
 * @Date 2022/5/31 23:41
 * @Description FeignController
 * @Version 1.0
 */
@RestController
public class FeignController {

    @Autowired
    HelloService helloService;
    @RequestMapping("/web/hello")
    public String hello() {
        return helloService.hello();
    }
}
